using SmartLink.Domain.Attribute;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartLink.Domain.Entity
{
    /// <summary>
    /// 附件表
    /// </summary>
    [TableName("SYS_Attachment")]
    public class SYS_Attachment : BaseEntity
    {
        /// <summary>
        /// 源文件名
        /// </summary>
        public string SourceFileName { get; set; }

        /// <summary>
        /// 存储文件名
        /// </summary>
        public string StorageFileName { get; set; }

        /// <summary>
        /// 相对地址
        /// </summary>
        public string RelativeAddress { get; set; }

        /// <summary>
        /// 扩展名
        /// </summary>
        public string ExtName { get; set; }

        /// <summary>
        /// 文件大小（以字节为单位）
        /// </summary>
        public int FileSize { get; set; }

        /// <summary>
        /// 关联表名
        /// </summary>
        public string FK_TableName { get; set; }

        /// <summary>
        /// 关联条目Id
        /// </summary>
        public int FK_EntryId { get; set; }
    }
}
